package com.example.web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
/**
 * https://blog.csdn.net/a772304419/article/details/99658218
 * @author yzl
 *
 */
@Controller
public class Hello {

	@GetMapping("/hello")
	public String hello(ModelMap map) {
		map.put("msg","hello this is freemarker");
		return "hello";
	}
}
